﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class VariableDocument : Single<VariableDocument>
{
    public string name = "未命名";//主角昵称
    public int level = 1;//等级
    public int power = 354;//战力值
    public int money = 2022;//元宝数
    public float[] per_role_attribute = { 120, 542, 2453, 1.8f, -15.3f };//穿戴装备之前角色的属性
    public float[] role_attribute = { 120, 542, 2453, 1.8f, -15.3f };//角色的属性

    public float[,] all_equip_attribute = { {0,120,386,0,0 }, {0,215,109,0,0 }, {0,0,0,2,-2.8f }, {135,0,0,0,-1 },{307,0,0,1.1f,0 },
        {315,398,0,0,0 }, { 0,78,435,0,0}, {0,241,15,0,0 }, {0,0,0,0.4f,-0.3f }, {53,0,0,0,-0.8f },{291,0,0,1.6f,0 },
        {78,101,0,0,0 }, {0,87,438,0,0 }, {0,200,33,0,0 }, {0,0,0,0.8f,-1.1f }, { 52,0,0,0,-1.2f}, { 453,0,0,2.2f,0}, {99,105,0,0,0 } };

    public int[] equiped = { -1, -1, -1, -1, -1, -1 };//记录6个装备的在mainItem的id，-1为未装备
	public string[,] equipmentAddText = { { "防御", "生命" }, { "防御", "生命" }, { "经验加成", "技能冷却" }, { "攻击", "技能冷却" }, { "攻击", "经验加成" }, { "攻击", "防御" } };
	public int[,] equipmentAddIndex = { { 1, 2 }, { 1, 2 }, { 3, 4 }, { 0, 4 }, { 0, 3 }, { 0, 1 } };
    public float[] upgrade_add_attribute = { 45, 57, 32, 0.2f, -0.3f };
    public int indexInParent = -1;

    //5.
    public int skill_id = 2;//装备的技能
    //6.
    public int signin = 0;//可签到
    //9.
	public int through = 0;//生成的怪的序号，具体序号看JSON文件Enemyconfig.json
    public UIFixedObj uiobj;
    public Animator anima;//控制怪物
    public int reward_number = 5;//可悬赏次数
    public int renovate = 2; //可免费刷新次数
    public int current_quality = 0;//当前怪物品质
    public int current_reward = 0;//当前是第几组奖励
    //设置六组奖励用来随机
    public int[,] bAndr = { { 1, 6, 5, 4, 3, 9 }, { 7, 4, 12, 3, 8, 3 }, { 6, 9, 8, 5, 4, 2 }, { 17, 16, 2, 7, 12, 10 }, { 0, 14, 16, 10, 11, 13 }, { 11, 13, 14, 15, 17, 0 } };
    public string[] numpath =
    {
        "Image/number/0",
        "Image/number/1",
        "Image/number/2",
        "Image/number/3",
        "Image/number/4",
        "Image/number/5",
        "Image/number/6",
        "Image/number/7",
        "Image/number/8",
        "Image/number/9"
    };

    //today shoes plant 
    //10
    public int chapters = 1;//当前是第几章
    public float timernum = 50;//主线关卡的时间
    public int killtager = 20;//需要击杀的怪物数量
    public int current_checkpoint = 0;//当前关卡
    public int max_checkpoint = 0;//最大关卡
    public string[] checkpoint_name = {"第一关 城外奇遇","第二关 通缉犯","第三关 水火相克","第四关 沙丘之主","第五关 抵御入侵","第六关 黄雀在后","第一关 绝地反击","第二关 震动八方","第三关 瘟神降临","第四关 百虫穴寨","第五关 英雄聚首","第六关 巅峰之战"};//关卡名称
    public string[] Enemypath =
    {
        "Monster_107_BanShouRen01",
        "Monster_114_DiCiChong",
        "Monster_117_HuoYanMoWei",
        "Monster_127_HeiYeZhu"
    };
    public int dropped_equipment = 0;//已经掉落多少件装备
    public int[] dropped_equipment_id = { -1, -1, -1, 10 };//掉落装备的id和掉落元宝的数量

    /*---引导---*/
	public int yindaoid = 1;//引导
    /*
     * 引导1，点击签到按钮
     * 引导2，点击签到
     * 引导3，点击×
     * 引导4，点击返回
     * 引导5，点击角色属性
     * 引导6，点击属性
     * 引导7，点击一键装备
     * 引导8，点击返回
     * 引导9，点击装备强化
     * 引导10，点击强化
     * 引导11，点击返回
     * 引导12，点击终极技能
     * 引导13，抽奖
     * 引导14，返回
     * 引导15，点击主线
     * 引导16，点击第一关
     * 引导17，点击返回
     * 引导18，点击装备强化
     * 引导19，点击强化
     * 引导20，点击返回
     * 引导21，点击领主悬赏
     * 引导22，点击刷新
     * 引导23，点击升品
     * 引导24，点击升品
     * 引导25，点击悬赏
*/
}
